package com.thd.framework.basic.enums;

public enum ValidEnum  implements BaseEnum{
    VALID("1"),INVALID("0");

    private String code;

    ValidEnum(){
        this.code = this.name();
    }

    ValidEnum(String code){
        this.code = code;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName(){
        return this.name();
    }
}
